<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">

    <el-tab-pane label="衣物预检" name="ywyj">

      <Ywyj :scene="activeName" v-if="activeName=='ywyj'"></Ywyj>

    </el-tab-pane>

    <el-tab-pane label="预检记录" name="yjRecord">
         <YjRecord v-if="activeName=='yjRecord'"></YjRecord>
    </el-tab-pane>
  </el-tabs>

  

  </div>
</template>

<script>


import Ywyj from "./components/Ywyj.vue";
import YjRecord from './components/Yjrecord.vue'
export default {
  name: "Index",
  components: {
    Ywyj,
    YjRecord

  },
  data() {
    return {
      // drawerVisible:true,
     activeName:"ywyj",//yuyj(衣物预检) yjRecord(预检记录)
      loading: false,
      queryParams: {
        page: 0,
        limit: 10,
        total: 0,
      },
      list: [],
    };
  },
  created() {
    
  },
  mounted() {
   
  },
  methods: {

    handleClick(){}

   

   
  },
};
</script>

<style lang="scss" scoped>
.create {
  margin-bottom: 20px;
}
</style>
